package com.zte.leave.dao;

import com.github.pagehelper.PageInfo;
import com.zte.leave.model.Absence;
import com.zte.leave.model.Leave;
import com.zte.user.model.Student;
import com.zte.user.model.Teacher;
import com.zte.user.model.Users;

import java.util.List;

public interface ILeaveDao {

    //添加请假申请
    public boolean insertLeave(Leave leave);
    //查询请假申请
    public List<Leave> findAllLeave(Leave leave);
    public List<Absence> findAllAbsence(Absence absence);
    public boolean insertAbsence(Absence absence);
}
